package com.example.kotlin.lifecycle

/**
 * @ClassName: Lifecycle
 * @Description: 生命周期被观察者
 * @Author: chenmengjia
 * @Date: 2022/2/3 9:54
 */
interface Lifecycle {
    fun addListener(lifeCycleListener: LifecycleObserver?)
    fun removeListener(lifeCycleListener: LifecycleObserver?)
}